/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uk.ac.aber.compsci.se3920.groupA.Tests.MockTypes;

import uk.ac.aber.compsci.se3920.groupA.Tests.*;
import java.util.ArrayList;
import java.util.Calendar;

/**
 *
 * @author rob
 */
public class MeetingCandidate {
    private Calendar start;
    private Calendar end;
    private boolean validity;
    private int activeScore;
    private int passiveScore;
    private ArrayList<Room> possibleRooms;
    
    public void addActiveScore(int x){
        this.activeScore+=x;
    }
    
    public void addPassiveScore(int y){
        this.passiveScore+=y;
    }
    
    public MeetingCandidate(){
        this.validity = true;
        this.possibleRooms = new ArrayList<Room>();
    }

    public Calendar getStart() {
        return start;
    }

    public void setStart(Calendar start) {
        this.start = start;
    }

    public Calendar getEnd() {
        return end;
    }

    public void setEnd(Calendar end) {
        this.end = end;
    }

    public boolean isValidity() {
        return validity;
    }

    public void setValidity(boolean validity) {
        this.validity = validity;
    }

    public int getActiveScore() {
        return activeScore;
    }

    public int getPassiveScore() {
        return passiveScore;
    }
    
    public ArrayList<Room> getPossibleRooms(){
        return this.possibleRooms;
    }
    
    public void addRoom(Room room){
        this.possibleRooms.add(room);
    }
}
